﻿<%@ Page ValidateRequest="False" Language="VB" MasterPageFile="~/Default.master" AutoEventWireup="false" CodeFile="encriptarconection.aspx.vb" Inherits="Extras_encriptarconection" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<h2>
        Protecting Configuration Sections</h2>
    <p>
        The textbox below contains the contents of this application's configuration file
        (Web.config). You can click the "Encrypt Connection Strings" and "Decrypt Connection
        Strings" buttons to encrypt and decrypt the contents.</p>
    <p>
        <strong>Web.config:</strong><br />
        <asp:TextBox ID="WebConfigContents" runat="server" Rows="15" TextMode="MultiLine"
            Width="95%"></asp:TextBox></p>
    <p>
        <asp:Button ID="EncryptConnStrings" runat="server"
            Text="Encrypt Connection Strings" />
        &nbsp;
        <asp:Button ID="DecryptConnStrings" runat="server"
            Text="Decrypt Connection Strings" /></p>
</asp:Content>

